package com.kod.logic;

import java.util.ArrayList;
import java.util.Collections;

public class Sort {
	public static final int Up = 0;
	public static final int Down = 1;

	public static void sort(ArrayList<Integer> list, int type) {
		if (type == 0) {
			Collections.sort(list);
		}
	}

//	static class SortByData implements Comparator {
//		public int compare(Object o1, Object o2) {
//			Integer value = (Integer) o1;
//			int _color = value / 1000;
//
//			Integer value2 = (Integer) o2;
//			int _color2 = value2 / 1000;
//
//			if (_color >= _color2)
//				return 1;
//			return 0;
//		}
//	}
}
